Keycloak REST Services 1.5.0-Final

Path: / admin / realms / {realm} / clients / {id} / logout-user / {username}

If the client has an admin URL, invalidate the sessions for a particular user directly.

Path parameters:
realm - realm name (not id!)
id - id of client (not client-id)
username -

Resource Methods
Method Summary
NameDescription
POST /admin/realms/{realm}/clients/{id}/logout-user/{username}If the client has an admin URL, invalidate the sessions for a particular user directly.

Method Detail

POST /admin/realms/{realm}/clients/{id}/logout-user/{username}

If the client has an admin URL, invalidate the sessions for a particular user directly.

HTTP Example:
POST /admin/realms/{realm}/clients/{id}/logout-user/{username}
API Example:

ClientResource.logout({'realm': /* name realm name (not id!) */,
  'id': /* id id of client (not client-id) */,
  'username': /* If the client has an admin URL, invalidate the sessions for a particular user directly. */});

Output:
void

Keycloak REST Services 1.5.0-Final